badge-type($types, $colors)
  for type, index in $types
    &-{type}
      background-color: $colors[index];